package com.kylin.domain.marketing.vo;

import com.kylin.shared.enums.RunningState;
import lombok.Builder;
import lombok.ToString;
import lombok.Value;

import java.time.LocalDateTime;

/**
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年06月07日 22:04
 */
@Value
@ToString
@Builder
public class MarketingCommodityVO {
    Long boardId;
    Long campaignId;
    Long  commodityId;
    Long  price;
    Long comparePrice;
    Integer inventory;
    Integer capacity;
    String cover;
    String title;
    String subtitle;
    RunningState state;
    Long createdBy;
    Long updatedBy;
    Long removedBy;
    LocalDateTime createdAt;
    LocalDateTime updatedAt;
    LocalDateTime removedAt;

    public static final MarketingCommodityVO EMPTY =
            MarketingCommodityVO.builder().build();
}
